home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1692 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  3.6 KB  |  88 lines

  1. on(press){
  2.    if(_root.inven._currentframe == 1)
  3.    {
  4.       if(_root.micon._currentframe == 40 && _root.range == true)
  5.       {
  6.          _root.next_dis1 = 2;
  7.          _root.next_txt1 = "Hey, that\'s a great idea.  I\'ll have a girlfriend in no time...  in JAIL!  ARE YOU NUTS?";
  8.       }
  9.       else if(_root.micon._currentframe == 41 && _root.range == true)
  10.       {
  11.          _root.next_dis1 = 2;
  12.          _root.next_txt1 = "I don\'t think I want to make Ms. Bates cry.";
  13.       }
  14.       if(_root.micon._currentframe == 1 && _root.range == true)
  15.       {
  16.          _root.next_dis1 = 2;
  17.          _root.next_txt1 = "Hmm probably shouldn\'t.";
  18.       }
  19.       if(_root.micon._currentframe == 2)
  20.       {
  21.          _root.next_dis1 = 2;
  22.          _root.next_txt1 = "Ms Bates, one of the nicest teachers in this school, and I\'m not talking about personality...";
  23.       }
  24.       if(_root.micon._currentframe == 4 && _root.range == true && _root.txt_number <= 1)
  25.       {
  26.          if(_root.talk9 == 0)
  27.          {
  28.             _root.talk9 = 1;
  29.             _root.txt_number = 7;
  30.             _root.next_txt7 = "Mr. Hewitt shouldn\'t you be learning something right now?";
  31.             _root.di7 = 330;
  32.             _root.next_dis7 = 12;
  33.             _root.next_txt6 = "Funny you should mention that Ms Bates.  Shouldn\'t you be teaching something right now?";
  34.             _root.di6 = 331;
  35.             _root.next_dis6 = 2;
  36.             _root.next_txt5 = "I\'d love to but Principle Hoggard told me to make sure no one entered the gym before the dance.  Seriously, why aren\'t you in class?";
  37.             _root.di5 = 332;
  38.             _root.next_dis5 = 12;
  39.             _root.next_txt4 = "I\'m on a mission to find a date to the dance tonight.";
  40.             _root.di4 = 333;
  41.             _root.next_dis4 = 2;
  42.             _root.next_txt3 = "Not the greatest excuse but honorable.";
  43.             _root.di3 = 334;
  44.             _root.next_dis3 = 12;
  45.             _root.next_txt2 = "Oh, my neice is coming to visit me at school today and she\'s just about your age.  I\'ll have to let you two meet.";
  46.             _root.di2 = 335;
  47.             _root.next_dis2 = 12;
  48.             _root.next_txt1 = "Sounds great!  Maybe this won\'t be so hard after all.";
  49.             _root.di1 = 336;
  50.             _root.next_dis1 = 2;
  51.          }
  52.          else if(_root.talk9 == 1 && _root.taken52 == 0)
  53.          {
  54.             _root.txt_number = 2;
  55.             _root.next_txt2 = "Your neice hasn\'t come in by any chance has she?";
  56.             _root.di2 = 337;
  57.             _root.next_dis2 = 2;
  58.             _root.next_txt1 = "No, sorry.  Try again later, Hewitt.";
  59.             _root.di1 = 338;
  60.             _root.next_dis1 = 12;
  61.          }
  62.          else if(_root.talk9 == 1)
  63.          {
  64.             _root.txt_number = 4;
  65.             _root.talk9 = 2;
  66.             _root.next_txt4 = "So I heard you met Susan.  How cute!  Now you better be gentleman and get her a corsage.";
  67.             _root.di4 = 339;
  68.             _root.next_dis4 = 12;
  69.             _root.next_txt3 = "Sure thing, Ms. Bates.  IΓÇÖm really excited about it!";
  70.             _root.di3 = 340;
  71.             _root.next_dis3 = 2;
  72.             _root.next_txt2 = "Susan said the same thing.  SheΓÇÖs so exited that you know how to dance!";
  73.             _root.di2 = 341;
  74.             _root.next_dis2 = 12;
  75.             _root.next_txt1 = "Yeh... uh... It should be great!";
  76.             _root.di1 = 342;
  77.             _root.next_dis1 = 2;
  78.          }
  79.          else
  80.          {
  81.             _root.next_txt1 = "CanΓÇÖt talk now, Hewitt.";
  82.             _root.di1 = 343;
  83.             _root.next_dis1 = 12;
  84.          }
  85.       }
  86.    }
  87. }
  88.